﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core.UnitTest;
using NUnit.Framework;
using System.IO;

namespace COFE.IO.FSIEX.UnitTest
{
    [TestFixture]
    public class TestFileSystemExDirectoryLister : TestDirectoryLister<FileSystemExDirectoryLister>
    {
        #region Constructor

        public TestFileSystemExDirectoryLister()
            : base(new FileSystemExDirectoryLister(null, "IOTempEX",
                Directory.CreateDirectory(@"C:\Temp").FullName), //Directory Lister start at C:\Temp
                @"")                                         //Test it in C:\Temp\Test
        {
            //RemoveDirectories failed the test.
        }

        #endregion

        #region Methods

        [Test]
        public override void Test()
        {
            CleanUp();
            CreateDirectories();
            CreateFiles();
            CopyFiles();
            PollFileProperties();
            PollDirectoryProperties();
            RemoveFiles();
            RemoveDirectories();

            Root_s_Parent_Equals_Null();
        }

       
        #endregion

        #region Data


        #endregion

        #region Public Properties

        #endregion

    }
}
